package online.shenjian.nacos.provider;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shenjian
 * @since 2022/12/7
 */
@RestController
public class HelloWorldController {

    @GetMapping("/hello")
    public String helloWorld(@RequestParam String name) {
        return "hello:" + name;
    }
}
